<html>
<head>
<link rel="stylesheet" type="text/css" href="/stylesheets/main.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cdn.jquerytools.org/1.2.6/jquery.tools.min.js"></script>
<script type="text/javascript" src="/scripts/dropdown.js"></script>
<script type="text/javascript" src="/scripts/createPage.js"></script>
<!--<script type="text/javascript" src="/scripts/reloadPage.js"></script>-->
{% if user %}
<title>Welcome to StudyVolved, {{ user.nickname() }}</title>
{% else %}
<title>Welcome to StudyVolved</title>
{% endif %}
<!--Thanks to http://javascript-array.com/scripts/jquery_simple_drop_down_menu/-->
</head>
<body>
{% if user %}
{% include "createCategory.html" %}
{% include "createCourse.html" %}
{% include "createQuestion.html" %}
{% include "createClarification.html" %}
{% include "createCKey.html" %}
{% include "findcourse.html" %}
{% endif %}
<div class="across">
<ul id="jsddm">
	{% if user %}
	<li><a href="#">Settings</a>
        <ul>
            <li><a href="{{ logUrl }}">Logout</a></li>
            <li><a href="#">User Settings-IMPLEMENT!!!</a></li>
        </ul>
    </li>
    <li><a href="#">Learning</a>
        <ul>
			<li><a href="javascript:function Z(){Z=''}Z()" id="clarificationOver" rel="#clarPane">Clarification</a></li>
			<li><a href="javascript:function Z(){Z=''}Z()" id="findOver" rel="#findPane">Find Course</a></li>
			{% if userEntity.canTeach %}
			<li><a href="javascript:function Z(){Z=''}Z()" id="ckOver" rel="#ckPane">Share Course</a></li>
            <li><a href="javascript:function Z(){Z=''}Z()" id="courseOver" rel="#coursePane">Make Course</a></li>
            <li><a href="javascript:function Z(){Z=''}Z()" id="categoryOver" rel="#categoryPane">Make Category</a></li>
            <li><a href="javascript:function Z(){Z=''}Z()" id="questionOver" rel="#questionPane">Make Question</a></li>
			{% endif %}
        </ul>
    </li>
	{% endif %}
</ul>
</div>
<br />
<div id="main">
